<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var MyDate = function(){

    }
    MyDate.prototype.money = 100000000;
    //md1和md2是两个独立的对象，
    var md1 = new MyDate();
    var md2 = new MyDate();
    //md1开始创天下
    md1.abc = function(){
        console.log('实例对象1')
    }
    console.log(md1.abc);   //md1和md2是两个独立的对象，
    console.log(md2.abc);
</script>
</body>
</html>